
module.exports = async (ctx , next )=>{
    const start =  Date.now()
    await next()
    const end = Date.now()
    const time = end - start
    ctx.set("X-Response-Time",`${time}ms`)
}